<template>
  <div class="upload-container">
    <fileUpload class="upload-demo" :multiple="false" :accept="['application/pdf', 'image/jpeg', 'image/png','word/docx']">
      <!-- <span style="color: red;">jpg/png files with a size less than 500kb</span>
      <template #tip>
        666
      </template> -->
    </fileUpload>
  </div>
</template>

<script>
import fileUpload from './components/fileUpload.vue'
export default {
  name: 'App',
  components: {
    fileUpload,
  } 
}
</script>

<style lang="scss" scoped>
.upload-container {
  width: 100%;
  height: 100%;
  .upload-demo {
    margin: 20px auto;
    width: 800px;
    height: 300px;
  }
}
</style>
